package com.sneaker.shower.entity.dto.coupon;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Hechangjian
 * @version 1.0
 * @className CouponRespDTO
 * @date 2019/11/26 10:13
 * @description 优惠券响应参数
 * @program bath
 */
@Data
@ApiModel("优惠券响应参数")
public class CouponRespDTO extends CouponDTO {

    @ApiModelProperty("是否可用")
    private Boolean isEnable;

    @ApiModelProperty("是否被使用")
    private Boolean isUsed;

    @ApiModelProperty("用户GUID")
    private String userGuid;

    @ApiModelProperty("订单guid")
    private String subOrderGuid;

    @ApiModelProperty("优惠金额")
    private BigDecimal discountFee;

    @ApiModelProperty("过期时间")
    private LocalDateTime expiredTime;
}
